package com.example.leave.domain.leave.aggregate.valueObject;

import lombok.Data;

/**
 * 审批人
 *
 * @author lxh
 * @date 2020/11/25 下午2:09
 **/
@Data
public class Approver {
    private String personId;
    private String name;

    public static Approver builder() {
        return new Approver();
    }

    public Approver withPersonId(String personId) {
        this.setPersonId(personId);
        return this;
    }

    public Approver withName(String name) {
        this.setName(name);
        return this;
    }
}
